#!/bin/sh

#
# ~/.xinitrc
#
# Executed by startx (run your window manager from here)
export OOO_FORCE_DESKTOP="gnome"
if which dbus-launch >/dev/null && test -z "$DBUS_SESSION_BUS_ADDRESS"; then
eval `dbus-launch --sh-syntax --exit-with-session`
fi

#xcompmgr -cCfF -r7 -o.65 -l-10 -t-8 -D7 &
xset m 0 0 & # Disable mouse accel
xsetroot -solid '#222222' &
xsetroot -cursor_name left_ptr & # Cursor theme
urxvtd -o -q -f &
nitrogen --restore & # Wallpaper
mpd &
#gnome-settings-daemon &

xbindkeys &
xmodmap ~/.Xmodmap
xrdb ~/.Xdefaults

(sleep 2 && urxvtc -e screen -RR) &

(amazing -s && amazing) & # Feeds awesome widgets

exec awesome
#exec dwm
#exec xmonad
#exec wmii
#exec openbox
#exec fluxbox
#exec pekwm
#exec gnome-session
#exec startxfce4
